﻿@model PaceR.Examples.MVC.Models.UserProfile

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>UserProfile</legend>
	<dl>
		<dt class="display-label">
			@ViewRes.UserProfile.Username
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.Username)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.Password
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.Password)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.FullName
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.FullName)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.Email
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.Email)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.Address1
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.Address1)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.Address2
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.Address2)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.City
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.City)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.Region
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.Region)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.PostalCode
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.PostalCode)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.Country
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.Country)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.LocalizationPreference
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.LocalizationPreference)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.FavoriteColor
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.FavoriteColor)
		</dd>

		<dt class="display-label">
			@ViewRes.UserProfile.Signature
		</dt>
		<dd class="display-field">
			@Html.DisplayFor(model => model.Signature)
		</dd>

	</dl>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
